package com.ruoyi.wx.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户车辆对象 car_info
 * 
 * @author wx
 * @date 2025-05-19
 */
public class CarInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long uid;

    /** 车型（品牌+类型） */
    @Excel(name = "车型", readConverterExp = "品=牌+类型")
    private String type;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNum;

    /** 车辆照片url */
    @Excel(name = "车辆照片url")
    private String carImg;

    /** 删除状态（0未删除、1已删除） */
    @Excel(name = "删除状态", readConverterExp = "0=未删除、1已删除")
    private Long deleted;

    /** 是否默认（1默认、0非默认） */
    private Long defaultcar;

    /** 保留字段1 */
    private String reserved1;

    /** 保留字段2 */
    private String reserved2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setCarNum(String carNum) 
    {
        this.carNum = carNum;
    }

    public String getCarNum() 
    {
        return carNum;
    }

    public void setCarImg(String carImg) 
    {
        this.carImg = carImg;
    }

    public String getCarImg() 
    {
        return carImg;
    }

    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    public void setDefaultcar(Long defaultcar) 
    {
        this.defaultcar = defaultcar;
    }

    public Long getDefaultcar() 
    {
        return defaultcar;
    }

    public void setReserved1(String reserved1) 
    {
        this.reserved1 = reserved1;
    }

    public String getReserved1() 
    {
        return reserved1;
    }

    public void setReserved2(String reserved2) 
    {
        this.reserved2 = reserved2;
    }

    public String getReserved2() 
    {
        return reserved2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("type", getType())
            .append("carNum", getCarNum())
            .append("carImg", getCarImg())
            .append("deleted", getDeleted())
            .append("defaultcar", getDefaultcar())
            .append("reserved1", getReserved1())
            .append("reserved2", getReserved2())
            .toString();
    }
}
